package com.zhenmyan.secdeal.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.zhenmyan.secdeal.pojo.Goods;
import com.zhenmyan.secdeal.vo.GoodsVo;

import java.util.List;

/**
 * description:
 *
 * @author 颜真明
 * @date 2023/5/11  6:45
 */
public interface GoodsMapper extends BaseMapper<Goods> {

    /**
     * 返回商品列表
     * @author LC
     * @operation add
     * @date 5:50 下午 2022/3/3
     * @param
     * @return java.util.List<com.example.seckilldemo.vo.GoodsVo>
     **/
    List<GoodsVo> getGoodsVo();

    GoodsVo getGoodsVoById(Long goodsId);

}
